home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / pctyp2_c.arc / PCTDOC1.EXE / lha / CHAP21.TXT < prev    next >
Text File  |  1989-04-21  |  15KB  |  337 lines

  1.        subject: QUIT/SAVE OVERVIEW
  2.  
  3.       overview: Selecting the "(Q)uit/Save" option in the Main Menu
  4.                 brings up the Filing Options menu shown below.
  5.  
  6.                 ┌─────────────────┐
  7.                 │Filing options:  │   page
  8.                 ╞═════════════════╪═══════
  9.                 │(A)ll quit       │    222
  10.                 │(E)xit only      │    222
  11.                 │(F)ile           │    222
  12.                 │(H)ighlight save │    223
  13.                 │(K)eep changes   │    223
  14.                 │(R)eminder       │    224
  15.                 │(S)ave file      │    224
  16.                 │e(X)it           │ <-- exit Filing Options menu
  17.                 └─────────────────┘
  18.  
  19.                 Every QUIT and SAVE option in PC-Type II is available
  20.                 from this menu.  Except for the options "(R)eminder"
  21.                 and "(K)eep changes", the options are available using
  22.                 keystrokes outside the menus.
  23.  
  24.                 The following terms are used in this section:
  25.  
  26.                     QUIT: remove the file data from memory without
  27.                           saving it to disk.
  28.                     SAVE: copy the contents of a file in memory to
  29.                           disk.
  30.                     FILE: SAVE and then remove the file data from
  31.                           memory.
  32.                 REMINDER: a sentence you provide describing the
  33.                           contents of the file which is saved with
  34.                           .PCT files.
  35.  
  36.                 When a file is removed from memory, if it is the only
  37.                 one, PC-Type II returns to DOS.  If more than one file is
  38.                 active in memory, when the file is removed you return
  39.                 to the Edit mode inside another file.
  40.  
  41.                 If the file being removed from memory was SAVEd then
  42.                 a window like the one below will appear informing you
  43.                 of some statistics about the text just FILEd.
  44.  
  45.                 ┌─────────────────────────┐
  46.                 │f.pct                    │
  47.                 ╞═════════════════════════╡
  48.                 │    Bytes in: 768        │
  49.                 │   Bytes out: 1024       │
  50.                 │       Words: 103        │
  51.                 │   Sentences: 14         │
  52.                 └─────────────────────────┘
  53.  
  54.  
  55.  
  56.                                  212
  57.        subject: SAVING
  58.  
  59.     discussion: When a file in memory is SAVEd, the filespec of the
  60.                 file you were editing is placed on the Command line
  61.                 and the message line states:
  62.  
  63.                 Modify and Enter (use PCT extension for document files) (Esc back to PC-Type)
  64.  
  65.                 Pressing Esc will return you to the file you were
  66.                 editing and abort the process of saving the file.
  67.  
  68.                 The filespec on the Command Line can be edited.
  69.                 It can contain a drive and path.  If no drive or path
  70.                 is provided, the current default directory is assumed.
  71.                 The filespec must, at a minimum, contain a valid
  72.                 filename.  A file extension can also be used.
  73.  
  74.                 When the filespec is completed, press the Enter key.
  75.                 If the filespec does not have a .PCT extension and
  76.                 Special Lines, page markers (other than +0), or print
  77.                 markers exist in your file, you will be asked:
  78.                 ┌─────────────────────────────────────────┐
  79.                 │Question:                                │
  80.                 ╞═════════════════════════════════════════╡
  81.                 │Not .PCT file and document marks present.│
  82.                 │They will be lost. Okay?                 │
  83.                 │Press Y or N                             │
  84.                 └─────────────────────────────────────────┘
  85.                 (1) If you press Esc, you are returned to the Edit
  86.                     mode to the file you were just editing.
  87.                 (2) If you press N, you will be returned to the
  88.                     Command Line so you can modify the filespec.
  89.                 (3) If you press Y, the file contents are copied to
  90.                     the filespec specified, but the Special Lines and
  91.                     print markers will be stripped from the disk copy
  92.                     of the file.  Page markers will remain as simple
  93.                     formfeeds.
  94.  
  95.                 If the filespec does not have a .PCT extension and
  96.                 there are no special marks in the file, then the
  97.                 current active file in memory will be written to disk
  98.                 according to the filespec provided.
  99.  
  100.                 If the filespec has a .PCT extension but the
  101.                 reminder has not been defined, then you are asked to
  102.                 enter the reminder.  If you press Esc at this point,
  103.                 the SAVE is aborted and you are returned to the Edit
  104.                 mode.  If a reminder has already been defined, or the
  105.                 "FILE_MSG" toggle in "(S)witches" option of the
  106.                 Configuration Menu has been turned off, then you will
  107.                 not be asked to enter this information.
  108.  
  109.                 At this point the current active file in memory will
  110.                 be written to disk according to the filespec provided.
  111.  
  112.                                  213
  113.                 Before writing the file to disk, PC-Type II checks the
  114.                 filespec you provided to see if a file with the
  115.                 identical filespec already exists.  If none exists,
  116.                 then the file is immediately written to disk.
  117.  
  118.                 If one does exist, then PC-Type II checks the setting of
  119.                 the "BACKUP" toggle in the "(S)witches" option of the
  120.                 Configuration Menu.  (See "Configuration Switches
  121.                 (File backup)" in the Configuration section).
  122.  
  123.                 If this toggle is set to NO, the file merely
  124.                 overwrites the file which already existed.
  125.  
  126.                 If the toggle is set to YES, then the file which
  127.                 already exists is renamed to have a file extension of
  128.                 .BAK, and the file in memory is written to disk under
  129.                 the given file extension.  If the file is SAVEd more
  130.                 than once while it is still in memory, this process is
  131.                 only performed the first time.  On subsequent SAVEs,
  132.                 the file will be written on top of the last copy
  133.                 SAVEd.
  134.  
  135.                 If the "BACKUP" toggle is set to ASK or DAY, then the
  136.                 window:
  137.  
  138.                 ┌───────────────────┐
  139.                 │Question:          │
  140.                 ╞═══════════════════╡
  141.                 │                   │
  142.                 │Create backup file?│
  143.                 │Press Y or N       │
  144.                 │                   │
  145.                 └───────────────────┘
  146.  
  147.                 is displayed.  If you press Esc you will be returned
  148.                 to the Edit mode in the file you were just editing.
  149.                 If you press Y, the existing file on disk is backed up
  150.                 as above.  If you answer N, then the file will
  151.                 overwrite the existing copy on disk.
  152.  
  153.                 As with the toggle setting YES, ASK will only back up
  154.                 the first time the file is SAVEd.  On subsequent SAVEs
  155.                 the window will not appear and the backup will not
  156.                 take place.
  157.  
  158.                 If the toggle is set to DAY, then the above window
  159.                 will only appear if the date on an existing .BAK file
  160.                 has a date prior to the current date.  In this mode, a
  161.                 backup will never be created more than one time per
  162.                 day.
  163.  
  164.  
  165.  
  166.  
  167.  
  168.                                  214
  169.        subject: QUIT/SAVE MENU OPTIONS
  170.  
  171.     (A)ll quit: This option is equivalent to pressing Ctrl Break at
  172.                 any point within PC-Type II.  You will be returned to DOS
  173.                 regardless of how many files are currently active
  174.                 within PC-Type II.  Before this happens, however, the
  175.                 window:
  176.  
  177.                 ┌─────────────────────────────────────────┐
  178.                 │Question:                                │
  179.                 ╞═════════════════════════════════════════╡
  180.                 │Will immediately return to DOS.  Correct?│
  181.                 │Press Y or N                             │
  182.                 └─────────────────────────────────────────┘
  183.  
  184.                 is displayed to make sure this is what you really want
  185.                 to do.
  186.  
  187.                 NOTE: If you select this option, any editing you
  188.                       have done during the session (which has not
  189.                       been previously saved) will be lost.
  190.  
  191.  
  192.  
  193.    (E)xit only: This option is equivalent to pressing F4 when you are
  194.                 in the Edit mode.  This option will QUIT the file
  195.                 being edited without saving it to disk.
  196.  
  197.                 If the file has been modified, you will be asked:
  198.  
  199.                 ┌────────────────────────────────────────┐
  200.                 │Question:                               │
  201.                 ╞════════════════════════════════════════╡
  202.                 │Quitting a modified file.  Are you sure?│
  203.                 │Press Y or N                            │
  204.                 └────────────────────────────────────────┘
  205.  
  206.                 If you press N or Esc, you will be returned to the
  207.                 Edit mode.  If you press Y, the file will be removed
  208.                 from memory and you will either be returned to DOS (if
  209.                 this was the only file in memory) or you will be
  210.                 returned to the Edit mode in another active file.
  211.  
  212.  
  213.  
  214.         (F)ile: This option is equivalent to pressing F9 when you are
  215.                 in the Edit mode.  After the SAVE procedure outlined
  216.                 earlier in this section is completed, the file will be
  217.                 written to disk and you will either be returned to DOS
  218.                 (if this was the only file in memory) or you will be
  219.                 returned to the Edit mode in another active file.
  220.  
  221.  
  222.  
  223.  
  224.                                  215
  225.  (H)ilite save: This option is equivalent to pressing Ctrl F9 when you
  226.                 are in the Edit mode.  Only that portion of the active
  227.                 file which is highlighted will be saved to disk. If
  228.                 there is no area marked, the window:
  229.  
  230.                 ╔═══════════════════════════╗
  231.                 ║ No area currently marked. ║
  232.                 ║Press a key to continue ...║
  233.                 ╚═══════════════════════════╝
  234.  
  235.                 is displayed.  If an area is marked in a different
  236.                 file than the file you are currently editing, the
  237.                 window:
  238.  
  239.                 ╔═════════════════════════════╗
  240.                 ║Highlight not in active file.║
  241.                 ║ Press a key to continue ... ║
  242.                 ╚═════════════════════════════╝
  243.  
  244.                 is displayed.
  245.  
  246.                 If an area is highlighted in the file you are editing,
  247.                 then the normal SAVE procedure described earlier will
  248.                 take place and the highlighted portion of the file
  249.                 will be written to disk.
  250.  
  251.                 NOTE: If the area to be saved is highlighted with
  252.                       sentence highlighting, (Ctrl S), it is saved as
  253.                       if it had been highlighted with paragraph
  254.                       highlighting (Ctrl L).
  255.  
  256.  
  257.  
  258. (K)eep changes: This option is only available through the Filing
  259.                 Options menu.
  260.  
  261.                 Selecting this option is equivalent to selecting the
  262.                 "(E)xit only" option (or pressing F4) for all files
  263.                 currently in memory which HAVE NOT been altered, and
  264.                 selecting the "(F)ile" option for all files currently
  265.                 in memory which HAVE been modified.
  266.  
  267.                 After all the files have been removed from memory, you
  268.                 are returned to DOS.
  269.  
  270.                 NOTE: this option differs from the "(A)ll quit" option
  271.                       (or Ctrl Break) since modified files are SAVEd.
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.                                  216
  281.     (R)eminder: You are only asked to enter reminder data when files
  282.                 with .PCT extensions are saved.  If reminder data has
  283.                 been entered once, you are not prompted again for the
  284.                 information.  To be able to modify reminder data, you
  285.                 must select this option from the Filing Options menu.
  286.  
  287.                 When you select this option, the current reminder data
  288.                 is placed in the Command Line and the Message Line
  289.                 reads:
  290.  
  291.                 Enter file reminder.  Press Enter when done (Esc=Exit)
  292.  
  293.                 If you press Esc, you will be returned to the Edit
  294.                 mode of the file you are editing.  Otherwise, enter
  295.                 the desired information and press the Enter key.  Then
  296.                 you will be returned to the file you are editing.
  297.                 This new information will be saved with the file you
  298.                 are editing if you SAVE the file with  a .PCT
  299.                 extension.
  300.  
  301.                 These reminders can be displayed in a report for all
  302.                 the .PCT files in a directory using the program
  303.                 DESC.EXE.  They will also be displayed under menus
  304.                 displaying filenames of .PCT files.  For example, if
  305.                 you enter the Command Line command "PCT doc*.pct",
  306.                 then a filename menu will be displayed containing all
  307.                 the .PCT files whose filenames begin with "doc".  As
  308.                 the selection bar is placed on a filename in the menu,
  309.                 its reminder description is displayed under the menu.
  310.  
  311.  
  312.  
  313.    (S)ave file: This option is equivalent to pressing Shift F9 when
  314.                 you are in the Edit mode. Like the "(F)ile" option,
  315.                 the "(S)ave file" option" SAVEs the active file to
  316.                 disk.
  317.  
  318.                 However, the file is not removed from memory.  After
  319.                 the file is SAVEd, you are returned to the same file
  320.                 to resume editing.  You can use the "(S)ave file"
  321.                 option as many times as you want during an editing
  322.                 session.
  323.  
  324.                 Unless additional editing changes are made to a
  325.                 file after the "(S)ave file" option has been used, you
  326.                 will not be asked "Are you sure?" when you try to
  327.                 "quit" the file.
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.                                  217
  337.